<%= form_for(@review_type) do |f| %>
  <!--stle:DRY-->
  <% if @review_type.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@review_type.errors.count, "error") %> prohibited this review type from being saved:</h2>

      <ul>
      <% @review_type.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <!--stle:require validation (java script, only .jucm files) not supported by input as is -->
    <%= f.label :jucm_file %>
    <%= f.file_field :jucm_file, :accept => 'text/jucm'%>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
  
  <%= @file_content %>
  
<% end %>